package games.isoMatric.ui
{
	import as3isolib.display.IsoSprite;
	
	import flash.display.Sprite;
	
	public class MarkOwerSprite extends Sprite
	{
		private var m_owner:IsoSprite;
		
		public function set owner(n:IsoSprite):void
		{
			m_owner = n;
			if(n)
			{
				m_owner.sprites = m_owner.sprites.concat(this);
			}
		}
		
		public function get owner():IsoSprite
		{
			return m_owner;
		}
		
		public function MarkOwerSprite(mc:IsoSprite = null)
		{
			super();
			owner = mc;
			
			mouseChildren = false;
		}
	}
}